<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--action:提交地址-->
<form action="http://www.baidu.com">
    <!--placeholder:占位文本
    maxlength：最大字符长度
    value：默认值
    readonly：只读
    -->
    用户名称：<input type="text" name="username"
               placeholder="请输入用户名" maxlength="6"
               value="你是" readonly="readonly"><br>
    输入密码：<input type="password" name="password"><br>
    <!-- 单选框 value设置提交内容，否则提交on checked默认选中-->
    性别：<input type="radio" name="gender" value="m" id="r1"><label for="r1">男</label>
    <input type="radio" name="gender" checked value="w" id="r2"><label for="r2">女</label><br>
    兴趣爱好：<input type="checkbox" name="hobby" value="dr">喝农药
    <input type="checkbox" name="hobby" value="ea">吃安眠药
    <input type="checkbox" name="hobby" value="eam">吃老鼠药<br>
    生日：<input  type="date" name="birthday"><br>
    靓照：<input type="file" name="pic"><br>
    所在地：<select name="city">
        <option value="hn">湖南</option>
        <option value="zj">浙江</option>
        <option value="sh">上海</option>
    </select><br>
    <input type="submit" value="注册">
    <!--重置按钮-->
    <input type="reset">
    <!--自定义按钮-->
    <input type="button" value="点我一下！">
    <!--通过button标签实现上面的效果-->
    <button type="submit">注册</button>
    <button type="reset">重置</button>
    <button type="button">自定义</button>
</form>
<hr>
<div>div1</div>
<div>div2</div>
<div>div3</div>
<span>span1</span>
<span>span2</span>
<span>span3</span>
</body>
</html>